<template>
	<view class="flex padding25rpx margin-top button_box">
		<button 
			@tap="onTap" 
			:class="isDisabled ? 'bg-blue' : 'bg-gradual-blue shadow-blur'" 
			:disabled="isDisabled" 
			class="flex-sub radius text-center"
		>发送</button>
	</view>
</template>

<script>
	export default {
		props:{
			isDisabled: {
				type: Boolean,
				default: false
			}
		},
		methods:{
			onTap(){
				this.$emit('tapEvent')
			}
		}
	}
</script>

</style>
